package kr.hkit.powerjava.chapter06;

import java.util.Scanner;

public class Exercise1_1 {
	public static void main(String[] args) {
		int x;
		int y;
		int max;
		int min;
		
		Scanner input = new Scanner(System.in);
		System.out.print("x의 값을 입력하시오. ");
		x = input.nextInt();
		System.out.print("y의 값을 입력하시오. ");
		y = input.nextInt();
		
		if (x > y)
			System.out.println("max = " + x + ", min = " + y);
		else if (y > x)
			System.out.println("max = " + y + ", min = " + x);
		else;
			
	}

}
